package com.ruoyi.system.service_yada.impl;

import com.ruoyi.system.domain_yada.AorestCoverageVO;
import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO;
import com.ruoyi.system.domain_yada.Dictionary;
import com.ruoyi.system.domain_yada.UploadFile;
import com.ruoyi.system.mapper_yada.AorestCoverageMapper;
import com.ruoyi.system.mapper_yada.AustraliaMiddleEastMapper;
import com.ruoyi.system.service_yada.IAorestCoverageService;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 森林覆盖率
 * @Author: JinSheng Song
 * @Date: 2022/5/11 11:43
 */
@Service
public class AorestCoverageServiceimpl implements IAorestCoverageService {
    @Resource
    private AorestCoverageMapper coverageMapper;


    @Override
    public List<AorestCoverageVO> selectAorestCoverage(/*String region,String particularYear*/) {
        return coverageMapper.selectAorestCoverage(/*region,particularYear*/);
    }

    @Override
    public Integer DelAorestCoverage(String id) {
        return coverageMapper.DelAorestCoverage(id);
    }

    @Override
    public Integer IntoAorestCoverage(AorestCoverageVO eastVO) {
        return coverageMapper.IntoAorestCoverage(eastVO);
    }

    @Override
    public Integer IntoUpload(UploadFile file) {
        return coverageMapper.IntoUpload(file);
    }

    @Override
    public List<UploadFile> selectUpload(String fileId, String fileName) {
        return coverageMapper.selectUpload(fileId,fileName);
    }

    @Override
    public List<Dictionary> selectDic(String codingType,String codingType1,
                                      String codingType2) {
        return  coverageMapper.selectDic(codingType,codingType1,codingType2);
    }
}
